home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1998 June / SGI Freeware 1998 June.iso / dist / fw_ATxgopher.idb / usr / freeware / src / xgopher.1.3 / dirList.h.z / dirList.h
C/C++ Source or Header  |  1998-01-21  |  2KB  |  93 lines

  1. /* dirList.h
  2.    header file for dirList.c */
  3.  
  4.      /*---------------------------------------------------------------*/
  5.      /* Xgopher        version 1.3     08 April 1993                  */
  6.      /*                version 1.2     20 November 1992               */
  7.      /*                version 1.1     20 April 1992                  */
  8.      /*                version 1.0     04 March 1992                  */
  9.      /* X window system client for the University of Minnesota        */
  10.      /*                                Internet Gopher System.        */
  11.      /* Allan Tuchman, University of Illinois at Urbana-Champaign     */
  12.      /*                Computing and Communications Services Office   */
  13.      /* Copyright 1992, 1993 by                                       */
  14.      /*           the Board of Trustees of the University of Illinois */
  15.      /* Permission is granted to freely copy and redistribute this    */
  16.      /* software with the copyright notice intact.                    */
  17.      /*---------------------------------------------------------------*/
  18.  
  19.  
  20. #ifndef DIRLIST_H
  21. #define DIRLIST_H
  22.  
  23. #include "gopher.h"
  24.  
  25.  
  26. gopherDirP    acquireDir(
  27.         );
  28.  
  29. void        releaseDir(
  30. #ifdef PROTO
  31.             gopherDirP    /* dir */
  32. #endif
  33.         );
  34.  
  35. gopherDirP    previousDir(
  36. #ifdef PROTO
  37.             gopherDirP    /* dir */
  38. #endif
  39.         );
  40.  
  41. gopherDirP    nextDir(
  42. #ifdef PROTO
  43.             gopherDirP    /* dir */
  44. #endif
  45.         );
  46.  
  47. static void    freeDirList(
  48. #ifdef PROTO
  49.             gopherDirP    /* dir */
  50. #endif
  51.         );
  52.  
  53. static void    allocGopherDir(
  54. #ifdef PROTO
  55.             int        /* n */
  56. #endif
  57.         );
  58.  
  59. gopherDirP    getCurrentDir(
  60.         );
  61.  
  62. void        pushCurrentDir(
  63. #ifdef PROTO
  64.             gopherDirP    /* dir */
  65. #endif
  66.         );
  67.  
  68. void        popCurrentDir(
  69.         );
  70.  
  71. static void    reallyPopFrom(
  72. #ifdef PROTO
  73.             gopherDirP    /* dir */
  74. #endif
  75.         );
  76.  
  77. char *        getCurrentDirIndex(
  78.         );
  79.  
  80. BOOLEAN        noCurrentDir(
  81.         );
  82.  
  83. BOOLEAN        atFirstDir(
  84.         );
  85.  
  86. void        clearDirStack(
  87.         );
  88.  
  89. void        checkDirStack(
  90.         );
  91.  
  92. #endif /* DIRLIST_H */
  93.